package it.univaq.mwt.model.bean;

import it.univaq.mwt.exceptionmonitor.WishlistrMessage;
import it.univaq.mwt.model.entity.Files;
import it.univaq.mwt.model.entity.Gift;

import javax.ejb.Remote;

@Remote
public interface FilesBeanRemote {
	Files createFile(Files file, Gift gift) throws WishlistrMessage;
	void editFile(Files file, Gift gift) throws WishlistrMessage;
	Files getFileByGift(Gift gift) throws WishlistrMessage;
	Files getFileByIdGift(int gift) throws WishlistrMessage;
}
